<?php

// +----------------------------------------------------------------------
// | Copyright (c) 2020 All rights reserved.
// +----------------------------------------------------------------------
// | User: Simony <1362229026@qq.com>
// | wechat: Shen86579595
// +----------------------------------------------------------------------
namespace app\admin\validate;
use think\Validate;

class Bonus extends Validate
{
    protected $rule = [
        'periods' => 'require|number',
        'done' => 'require|number',
        'state' => 'require|number',
        'money' => 'require',
        'netincome' => 'require',
        'recommend_money' => 'require',
        'commission_money' => 'require',
    ];
    protected $message = [
        'member_id.require' => '会员ID必须',
    ];
}